package com.marsoft.test.entity;

import com.marsoft.test.validation.ValidationGroups;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class YaPinManageEntity {
    /**
     * 押品编号
     */
    @NotNull(groups = {ValidationGroups.AddYP.class},message = "押品不能为空")
    private Integer collateralNo;
    /**
     *抵质押物类型 ？？？？？保证抵押质押
     */
    private Integer collateralType;
    /**
     *保险单号
     */
    private Integer insuranceNo;
    /**
     *所有权人名称
     */
    private String nameOfOwner;
    /**
     *保险情况
     */
    private String insuranceState;

    /**
     *保险人名称
     */
    private String insuranceName;

    /**
     *投保人名称
     */
    private String applicantName;
    /**
     *受益人名称
     */
    private String beneficialName;

    /**
     *被保险人名称
     */
    private String insuredName;
    /**
     *保险金额
     */
    private BigDecimal insuranceAmount;

    /**
     *投保费用
     */
    private BigDecimal insuranceCosts;
    /**
     *其他费用
     */
    private BigDecimal otherCosts;
    /**
     *保险到期日
     */
    private String insuranceEndDate;
    /**
     *备注
     */
    private String remark;
    /**
     *房屋状态
     */
    private String houseState;
}
